﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace Viet_Calculator
{
	/// <summary>
	/// Summary description for Form1.
	/// </summary>
	public class ChuyenDoiDonViDoLuong : System.Windows.Forms.Form
	{
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.GroupBox groupBox2;
		private System.Windows.Forms.TabControl tabControl1;
		private System.Windows.Forms.TabPage tabPage1;
		private System.Windows.Forms.GroupBox groupBox3;
		private System.Windows.Forms.GroupBox groupBox4;
		private System.Windows.Forms.TabPage tabPage2;
		private System.Windows.Forms.TabPage tabPage3;
		private System.Windows.Forms.TabPage tabPage4;
		private System.Windows.Forms.ListBox lbOutput1;
		private System.Windows.Forms.TextBox txtOutput1;
		private System.Windows.Forms.ListBox lbInput1;
		private System.Windows.Forms.TextBox txtInput1;
		private System.Windows.Forms.GroupBox groupBox5;
		private System.Windows.Forms.ListBox lbInput2;
		private System.Windows.Forms.TextBox txtInput2;
		private System.Windows.Forms.GroupBox groupBox6;
		private System.Windows.Forms.ListBox lbOutput2;
		private System.Windows.Forms.TextBox txtOutput2;
		private System.Windows.Forms.GroupBox groupBox7;
		private System.Windows.Forms.GroupBox groupBox8;
		private System.Windows.Forms.ListBox lbInput3;
		private System.Windows.Forms.TextBox txtInput3;
		private System.Windows.Forms.ListBox lbOutput3;
		private System.Windows.Forms.TextBox txtOutput3;
		private System.Windows.Forms.GroupBox groupBox9;
		private System.Windows.Forms.ListBox lbInput4;
		private System.Windows.Forms.TextBox txtInput4;
		private System.Windows.Forms.GroupBox groupBox10;
		private System.Windows.Forms.ListBox lbOutput4;
		private System.Windows.Forms.TextBox txtOutput4;
		private System.Windows.Forms.GroupBox groupBox13;
		private System.Windows.Forms.Button btnDoi;
		private System.Windows.Forms.GroupBox groupBox14;
		private System.Windows.Forms.GroupBox groupBox15;
		private System.Windows.Forms.Button button2;
		private System.Windows.Forms.GroupBox groupBox16;
		private System.Windows.Forms.Button button3;
		private System.Windows.Forms.Button btnDoi2;
		private System.Windows.Forms.Label label1;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public ChuyenDoiDonViDoLuong()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if (components != null) 
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ChuyenDoiDonViDoLuong));
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.label1 = new System.Windows.Forms.Label();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.tabControl1 = new System.Windows.Forms.TabControl();
			this.tabPage1 = new System.Windows.Forms.TabPage();
			this.groupBox13 = new System.Windows.Forms.GroupBox();
			this.btnDoi = new System.Windows.Forms.Button();
			this.groupBox4 = new System.Windows.Forms.GroupBox();
			this.lbOutput1 = new System.Windows.Forms.ListBox();
			this.txtOutput1 = new System.Windows.Forms.TextBox();
			this.groupBox3 = new System.Windows.Forms.GroupBox();
			this.lbInput1 = new System.Windows.Forms.ListBox();
			this.txtInput1 = new System.Windows.Forms.TextBox();
			this.tabPage2 = new System.Windows.Forms.TabPage();
			this.groupBox14 = new System.Windows.Forms.GroupBox();
			this.btnDoi2 = new System.Windows.Forms.Button();
			this.groupBox6 = new System.Windows.Forms.GroupBox();
			this.lbOutput2 = new System.Windows.Forms.ListBox();
			this.txtOutput2 = new System.Windows.Forms.TextBox();
			this.groupBox5 = new System.Windows.Forms.GroupBox();
			this.lbInput2 = new System.Windows.Forms.ListBox();
			this.txtInput2 = new System.Windows.Forms.TextBox();
			this.tabPage3 = new System.Windows.Forms.TabPage();
			this.groupBox15 = new System.Windows.Forms.GroupBox();
			this.button2 = new System.Windows.Forms.Button();
			this.groupBox8 = new System.Windows.Forms.GroupBox();
			this.lbOutput3 = new System.Windows.Forms.ListBox();
			this.txtOutput3 = new System.Windows.Forms.TextBox();
			this.groupBox7 = new System.Windows.Forms.GroupBox();
			this.lbInput3 = new System.Windows.Forms.ListBox();
			this.txtInput3 = new System.Windows.Forms.TextBox();
			this.tabPage4 = new System.Windows.Forms.TabPage();
			this.groupBox16 = new System.Windows.Forms.GroupBox();
			this.button3 = new System.Windows.Forms.Button();
			this.groupBox10 = new System.Windows.Forms.GroupBox();
			this.lbOutput4 = new System.Windows.Forms.ListBox();
			this.txtOutput4 = new System.Windows.Forms.TextBox();
			this.groupBox9 = new System.Windows.Forms.GroupBox();
			this.lbInput4 = new System.Windows.Forms.ListBox();
			this.txtInput4 = new System.Windows.Forms.TextBox();
			this.groupBox1.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.tabControl1.SuspendLayout();
			this.tabPage1.SuspendLayout();
			this.groupBox13.SuspendLayout();
			this.groupBox4.SuspendLayout();
			this.groupBox3.SuspendLayout();
			this.tabPage2.SuspendLayout();
			this.groupBox14.SuspendLayout();
			this.groupBox6.SuspendLayout();
			this.groupBox5.SuspendLayout();
			this.tabPage3.SuspendLayout();
			this.groupBox15.SuspendLayout();
			this.groupBox8.SuspendLayout();
			this.groupBox7.SuspendLayout();
			this.tabPage4.SuspendLayout();
			this.groupBox16.SuspendLayout();
			this.groupBox10.SuspendLayout();
			this.groupBox9.SuspendLayout();
			this.SuspendLayout();
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.label1);
			this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox1.Location = new System.Drawing.Point(8, 8);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(608, 88);
			this.groupBox1.TabIndex = 0;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "Hướng dẫn";
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(8, 24);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(592, 56);
			this.label1.TabIndex = 0;
			this.label1.Text = "Các bạn hãy điền một giá trị cần chuyển đổi vào ô trống bên trái, sau đó chọn một" +
				" đơn vị trong danh sách bên trái và một đơn vị trong danh sách bên phải. Khi bạn" +
				" kích chuột vào nút Đổi thì kết quả sẽ được hiển thị tại ô trống phía bên phải. " +
				"";
			// 
			// groupBox2
			// 
			this.groupBox2.Controls.Add(this.tabControl1);
			this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox2.Location = new System.Drawing.Point(8, 104);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(608, 312);
			this.groupBox2.TabIndex = 1;
			this.groupBox2.TabStop = false;
			// 
			// tabControl1
			// 
			this.tabControl1.Controls.Add(this.tabPage1);
			this.tabControl1.Controls.Add(this.tabPage2);
			this.tabControl1.Controls.Add(this.tabPage3);
			this.tabControl1.Controls.Add(this.tabPage4);
			this.tabControl1.Location = new System.Drawing.Point(8, 16);
			this.tabControl1.Name = "tabControl1";
			this.tabControl1.SelectedIndex = 0;
			this.tabControl1.Size = new System.Drawing.Size(592, 288);
			this.tabControl1.TabIndex = 0;
			// 
			// tabPage1
			// 
			this.tabPage1.Controls.Add(this.groupBox13);
			this.tabPage1.Controls.Add(this.groupBox4);
			this.tabPage1.Controls.Add(this.groupBox3);
			this.tabPage1.Location = new System.Drawing.Point(4, 25);
			this.tabPage1.Name = "tabPage1";
			this.tabPage1.Size = new System.Drawing.Size(584, 259);
			this.tabPage1.TabIndex = 0;
			this.tabPage1.Text = "Bits & bytes";
			// 
			// groupBox13
			// 
			this.groupBox13.Controls.Add(this.btnDoi);
			this.groupBox13.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox13.Location = new System.Drawing.Point(512, 8);
			this.groupBox13.Name = "groupBox13";
			this.groupBox13.Size = new System.Drawing.Size(64, 240);
			this.groupBox13.TabIndex = 3;
			this.groupBox13.TabStop = false;
			// 
			// btnDoi
			// 
			this.btnDoi.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnDoi.Location = new System.Drawing.Point(8, 112);
			this.btnDoi.Name = "btnDoi";
			this.btnDoi.Size = new System.Drawing.Size(48, 24);
			this.btnDoi.TabIndex = 0;
			this.btnDoi.Text = "Đổi";
			this.btnDoi.Click += new System.EventHandler(this.btnDoi_Click);
			// 
			// groupBox4
			// 
			this.groupBox4.Controls.Add(this.lbOutput1);
			this.groupBox4.Controls.Add(this.txtOutput1);
			this.groupBox4.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox4.Location = new System.Drawing.Point(256, 8);
			this.groupBox4.Name = "groupBox4";
			this.groupBox4.Size = new System.Drawing.Size(248, 240);
			this.groupBox4.TabIndex = 2;
			this.groupBox4.TabStop = false;
			// 
			// lbOutput1
			// 
			this.lbOutput1.ItemHeight = 16;
			this.lbOutput1.Items.AddRange(new object[] {
														   "bits [b]",
														   "bytes [B]",
														   "kilobits [Kb]",
														   "kilobytes [KB]",
														   "megabits [Mb]",
														   "megabytes [MB]",
														   "gigabits [Gb]",
														   "gigabytes [GB]",
														   "terabits [Tb]",
														   "terabytes [TB]",
														   "petabits [Pb]",
														   "petabytes [PB]",
														   "exabits [Eb]",
														   "exabytes [EB]"});
			this.lbOutput1.Location = new System.Drawing.Point(8, 48);
			this.lbOutput1.Name = "lbOutput1";
			this.lbOutput1.Size = new System.Drawing.Size(232, 180);
			this.lbOutput1.TabIndex = 1;
			// 
			// txtOutput1
			// 
			this.txtOutput1.Location = new System.Drawing.Point(8, 16);
			this.txtOutput1.Name = "txtOutput1";
			this.txtOutput1.ReadOnly = true;
			this.txtOutput1.Size = new System.Drawing.Size(232, 22);
			this.txtOutput1.TabIndex = 0;
			this.txtOutput1.Text = "";
			// 
			// groupBox3
			// 
			this.groupBox3.Controls.Add(this.lbInput1);
			this.groupBox3.Controls.Add(this.txtInput1);
			this.groupBox3.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox3.Location = new System.Drawing.Point(8, 8);
			this.groupBox3.Name = "groupBox3";
			this.groupBox3.Size = new System.Drawing.Size(240, 240);
			this.groupBox3.TabIndex = 1;
			this.groupBox3.TabStop = false;
			// 
			// lbInput1
			// 
			this.lbInput1.ItemHeight = 16;
			this.lbInput1.Items.AddRange(new object[] {
														  "bits [b]",
														  "bytes [B]",
														  "kilobits [Kb]",
														  "kilobytes [KB]",
														  "megabits [Mb]",
														  "megabytes [MB]",
														  "gigabits [Gb]",
														  "gigabytes [GB]",
														  "terabits [Tb]",
														  "terabytes [TB]",
														  "petabits [Pb]",
														  "petabytes [PB]",
														  "exabits [Eb]",
														  "exabytes [EB]"});
			this.lbInput1.Location = new System.Drawing.Point(8, 48);
			this.lbInput1.Name = "lbInput1";
			this.lbInput1.Size = new System.Drawing.Size(224, 180);
			this.lbInput1.TabIndex = 1;
			// 
			// txtInput1
			// 
			this.txtInput1.Location = new System.Drawing.Point(8, 16);
			this.txtInput1.Name = "txtInput1";
			this.txtInput1.Size = new System.Drawing.Size(224, 22);
			this.txtInput1.TabIndex = 0;
			this.txtInput1.Text = "";
			// 
			// tabPage2
			// 
			this.tabPage2.Controls.Add(this.groupBox14);
			this.tabPage2.Controls.Add(this.groupBox6);
			this.tabPage2.Controls.Add(this.groupBox5);
			this.tabPage2.Location = new System.Drawing.Point(4, 22);
			this.tabPage2.Name = "tabPage2";
			this.tabPage2.Size = new System.Drawing.Size(584, 262);
			this.tabPage2.TabIndex = 1;
			this.tabPage2.Text = "Độ dài";
			// 
			// groupBox14
			// 
			this.groupBox14.Controls.Add(this.btnDoi2);
			this.groupBox14.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox14.Location = new System.Drawing.Point(512, 8);
			this.groupBox14.Name = "groupBox14";
			this.groupBox14.Size = new System.Drawing.Size(64, 240);
			this.groupBox14.TabIndex = 4;
			this.groupBox14.TabStop = false;
			// 
			// btnDoi2
			// 
			this.btnDoi2.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnDoi2.Location = new System.Drawing.Point(8, 112);
			this.btnDoi2.Name = "btnDoi2";
			this.btnDoi2.Size = new System.Drawing.Size(48, 24);
			this.btnDoi2.TabIndex = 0;
			this.btnDoi2.Text = "Đổi";
			this.btnDoi2.Click += new System.EventHandler(this.btnDoi2_Click);
			// 
			// groupBox6
			// 
			this.groupBox6.Controls.Add(this.lbOutput2);
			this.groupBox6.Controls.Add(this.txtOutput2);
			this.groupBox6.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox6.Location = new System.Drawing.Point(256, 8);
			this.groupBox6.Name = "groupBox6";
			this.groupBox6.Size = new System.Drawing.Size(248, 240);
			this.groupBox6.TabIndex = 3;
			this.groupBox6.TabStop = false;
			// 
			// lbOutput2
			// 
			this.lbOutput2.ItemHeight = 16;
			this.lbOutput2.Items.AddRange(new object[] {
														   "ångströms [Å]",
														   "astronomical units [AU]",
														   "barleycorns ",
														   "cables",
														   "centimeters [cm]",
														   "chains (surveyors\')",
														   "decimeters",
														   "ells [UK]",
														   "ems (pica)",
														   "fathoms",
														   "feet (UK and US)",
														   "feet (US survey)",
														   "furlongs",
														   "hands",
														   "hectometers",
														   "inches [in]",
														   "kilometers [km]",
														   "light years",
														   "meters [m]",
														   "micrometers",
														   "mil",
														   "miles (UK and US)",
														   "miles (nautical, international)",
														   "miles (nautical, UK)",
														   "millimeters [mm]",
														   "nanometers",
														   "parsecs",
														   "picometers",
														   "yards"});
			this.lbOutput2.Location = new System.Drawing.Point(8, 48);
			this.lbOutput2.Name = "lbOutput2";
			this.lbOutput2.Size = new System.Drawing.Size(232, 180);
			this.lbOutput2.TabIndex = 1;
			// 
			// txtOutput2
			// 
			this.txtOutput2.Location = new System.Drawing.Point(8, 16);
			this.txtOutput2.Name = "txtOutput2";
			this.txtOutput2.ReadOnly = true;
			this.txtOutput2.Size = new System.Drawing.Size(232, 22);
			this.txtOutput2.TabIndex = 0;
			this.txtOutput2.Text = "";
			// 
			// groupBox5
			// 
			this.groupBox5.Controls.Add(this.lbInput2);
			this.groupBox5.Controls.Add(this.txtInput2);
			this.groupBox5.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox5.Location = new System.Drawing.Point(8, 8);
			this.groupBox5.Name = "groupBox5";
			this.groupBox5.Size = new System.Drawing.Size(240, 240);
			this.groupBox5.TabIndex = 2;
			this.groupBox5.TabStop = false;
			// 
			// lbInput2
			// 
			this.lbInput2.ItemHeight = 16;
			this.lbInput2.Items.AddRange(new object[] {
														  "ångströms [Å]",
														  "astronomical units [AU]",
														  "barleycorns ",
														  "cables",
														  "centimeters [cm]",
														  "chains (surveyors\')",
														  "decimeters",
														  "ells [UK]",
														  "ems (pica)",
														  "fathoms",
														  "feet (UK and US)",
														  "feet (US survey)",
														  "furlongs",
														  "hands",
														  "hectometers",
														  "inches [in]",
														  "kilometers [km]",
														  "light years",
														  "meters [m]",
														  "micrometers",
														  "mil",
														  "miles (UK and US)",
														  "miles (nautical, international)",
														  "miles (nautical, UK)",
														  "millimeters [mm]",
														  "nanometers",
														  "parsecs",
														  "picometers",
														  "yards"});
			this.lbInput2.Location = new System.Drawing.Point(8, 48);
			this.lbInput2.Name = "lbInput2";
			this.lbInput2.Size = new System.Drawing.Size(224, 180);
			this.lbInput2.TabIndex = 1;
			this.lbInput2.Tag = "";
			// 
			// txtInput2
			// 
			this.txtInput2.Location = new System.Drawing.Point(8, 16);
			this.txtInput2.Name = "txtInput2";
			this.txtInput2.Size = new System.Drawing.Size(224, 22);
			this.txtInput2.TabIndex = 0;
			this.txtInput2.Text = "";
			// 
			// tabPage3
			// 
			this.tabPage3.Controls.Add(this.groupBox15);
			this.tabPage3.Controls.Add(this.groupBox8);
			this.tabPage3.Controls.Add(this.groupBox7);
			this.tabPage3.Location = new System.Drawing.Point(4, 22);
			this.tabPage3.Name = "tabPage3";
			this.tabPage3.Size = new System.Drawing.Size(584, 262);
			this.tabPage3.TabIndex = 2;
			this.tabPage3.Text = "Khối lượng ";
			// 
			// groupBox15
			// 
			this.groupBox15.Controls.Add(this.button2);
			this.groupBox15.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox15.Location = new System.Drawing.Point(512, 8);
			this.groupBox15.Name = "groupBox15";
			this.groupBox15.Size = new System.Drawing.Size(64, 240);
			this.groupBox15.TabIndex = 4;
			this.groupBox15.TabStop = false;
			// 
			// button2
			// 
			this.button2.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.button2.Location = new System.Drawing.Point(8, 112);
			this.button2.Name = "button2";
			this.button2.Size = new System.Drawing.Size(48, 24);
			this.button2.TabIndex = 0;
			this.button2.Text = "Đổi";
			this.button2.Click += new System.EventHandler(this.button2_Click);
			// 
			// groupBox8
			// 
			this.groupBox8.Controls.Add(this.lbOutput3);
			this.groupBox8.Controls.Add(this.txtOutput3);
			this.groupBox8.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox8.Location = new System.Drawing.Point(256, 8);
			this.groupBox8.Name = "groupBox8";
			this.groupBox8.Size = new System.Drawing.Size(248, 240);
			this.groupBox8.TabIndex = 3;
			this.groupBox8.TabStop = false;
			// 
			// lbOutput3
			// 
			this.lbOutput3.ItemHeight = 16;
			this.lbOutput3.Items.AddRange(new object[] {
														   "barrels (oil)",
														   "bushels (UK)",
														   "bushels (US)",
														   "centiliters ",
														   "cubic centimeters",
														   "cubic decimeters",
														   "cubic decameters",
														   "cubic feet",
														   "cubic inches",
														   "cubic meters",
														   "cubic millimeters",
														   "cubic yards",
														   "cups",
														   "deciliters",
														   "fluid ounces (UK)",
														   "fluid ounces (US)",
														   "gallons (UK)",
														   "gallons, dry (US)",
														   "gallons, liquid (US)",
														   "liters [l or L]",
														   "liters [1901-1964]",
														   "milliliters",
														   "pints (UK)",
														   "pints, dry (US)",
														   "pints, liquid (US)",
														   "quarts (UK)",
														   "quarts, dry (US)",
														   "quarts, liquid (US)",
														   "table spoons",
														   "tea spoons"});
			this.lbOutput3.Location = new System.Drawing.Point(8, 48);
			this.lbOutput3.Name = "lbOutput3";
			this.lbOutput3.Size = new System.Drawing.Size(232, 180);
			this.lbOutput3.TabIndex = 1;
			// 
			// txtOutput3
			// 
			this.txtOutput3.Location = new System.Drawing.Point(8, 16);
			this.txtOutput3.Name = "txtOutput3";
			this.txtOutput3.ReadOnly = true;
			this.txtOutput3.Size = new System.Drawing.Size(232, 22);
			this.txtOutput3.TabIndex = 0;
			this.txtOutput3.Text = "";
			// 
			// groupBox7
			// 
			this.groupBox7.Controls.Add(this.lbInput3);
			this.groupBox7.Controls.Add(this.txtInput3);
			this.groupBox7.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox7.Location = new System.Drawing.Point(8, 8);
			this.groupBox7.Name = "groupBox7";
			this.groupBox7.Size = new System.Drawing.Size(240, 240);
			this.groupBox7.TabIndex = 2;
			this.groupBox7.TabStop = false;
			// 
			// lbInput3
			// 
			this.lbInput3.ItemHeight = 16;
			this.lbInput3.Items.AddRange(new object[] {
														  "barrels (oil)",
														  "bushels (UK)",
														  "bushels (US)",
														  "centiliters ",
														  "cubic centimeters",
														  "cubic decimeters",
														  "cubic decameters",
														  "cubic feet",
														  "cubic inches",
														  "cubic meters",
														  "cubic millimeters",
														  "cubic yards",
														  "cups",
														  "deciliters",
														  "fluid ounces (UK)",
														  "fluid ounces (US)",
														  "gallons (UK)",
														  "gallons, dry (US)",
														  "gallons, liquid (US)",
														  "liters [l or L]",
														  "liters [1901-1964]",
														  "milliliters",
														  "pints (UK)",
														  "pints, dry (US)",
														  "pints, liquid (US)",
														  "quarts (UK)",
														  "quarts, dry (US)",
														  "quarts, liquid (US)",
														  "table spoons",
														  "tea spoons"});
			this.lbInput3.Location = new System.Drawing.Point(8, 48);
			this.lbInput3.Name = "lbInput3";
			this.lbInput3.Size = new System.Drawing.Size(224, 180);
			this.lbInput3.TabIndex = 1;
			// 
			// txtInput3
			// 
			this.txtInput3.Location = new System.Drawing.Point(8, 16);
			this.txtInput3.Name = "txtInput3";
			this.txtInput3.Size = new System.Drawing.Size(224, 22);
			this.txtInput3.TabIndex = 0;
			this.txtInput3.Text = "";
			// 
			// tabPage4
			// 
			this.tabPage4.Controls.Add(this.groupBox16);
			this.tabPage4.Controls.Add(this.groupBox10);
			this.tabPage4.Controls.Add(this.groupBox9);
			this.tabPage4.Location = new System.Drawing.Point(4, 22);
			this.tabPage4.Name = "tabPage4";
			this.tabPage4.Size = new System.Drawing.Size(584, 262);
			this.tabPage4.TabIndex = 3;
			this.tabPage4.Text = "Vận tốc";
			// 
			// groupBox16
			// 
			this.groupBox16.Controls.Add(this.button3);
			this.groupBox16.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox16.Location = new System.Drawing.Point(512, 8);
			this.groupBox16.Name = "groupBox16";
			this.groupBox16.Size = new System.Drawing.Size(64, 240);
			this.groupBox16.TabIndex = 5;
			this.groupBox16.TabStop = false;
			// 
			// button3
			// 
			this.button3.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.button3.Location = new System.Drawing.Point(8, 112);
			this.button3.Name = "button3";
			this.button3.Size = new System.Drawing.Size(48, 24);
			this.button3.TabIndex = 0;
			this.button3.Text = "Đổi";
			this.button3.Click += new System.EventHandler(this.button3_Click);
			// 
			// groupBox10
			// 
			this.groupBox10.Controls.Add(this.lbOutput4);
			this.groupBox10.Controls.Add(this.txtOutput4);
			this.groupBox10.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox10.Location = new System.Drawing.Point(256, 8);
			this.groupBox10.Name = "groupBox10";
			this.groupBox10.Size = new System.Drawing.Size(248, 240);
			this.groupBox10.TabIndex = 4;
			this.groupBox10.TabStop = false;
			// 
			// lbOutput4
			// 
			this.lbOutput4.ItemHeight = 16;
			this.lbOutput4.Items.AddRange(new object[] {
														   "centimeters/minute",
														   "centimeters/second",
														   "feet/hour",
														   "feet/minute",
														   "feet/second",
														   "inches/minute",
														   "inches/second",
														   "kilometers/hour",
														   "kilometers/second",
														   "knots",
														   "knots (UK)",
														   "Mach number (ISA/SL)",
														   "meters/hour",
														   "meters/minute",
														   "meters/second [m/s]",
														   "miles/hour",
														   "miles/minute",
														   "miles/second",
														   "speed of light",
														   "yards/hour",
														   "yards/minute",
														   "yards/second"});
			this.lbOutput4.Location = new System.Drawing.Point(8, 48);
			this.lbOutput4.Name = "lbOutput4";
			this.lbOutput4.Size = new System.Drawing.Size(232, 180);
			this.lbOutput4.TabIndex = 1;
			// 
			// txtOutput4
			// 
			this.txtOutput4.Location = new System.Drawing.Point(8, 16);
			this.txtOutput4.Name = "txtOutput4";
			this.txtOutput4.ReadOnly = true;
			this.txtOutput4.Size = new System.Drawing.Size(232, 22);
			this.txtOutput4.TabIndex = 0;
			this.txtOutput4.Text = "";
			// 
			// groupBox9
			// 
			this.groupBox9.Controls.Add(this.lbInput4);
			this.groupBox9.Controls.Add(this.txtInput4);
			this.groupBox9.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox9.Location = new System.Drawing.Point(8, 8);
			this.groupBox9.Name = "groupBox9";
			this.groupBox9.Size = new System.Drawing.Size(240, 240);
			this.groupBox9.TabIndex = 2;
			this.groupBox9.TabStop = false;
			// 
			// lbInput4
			// 
			this.lbInput4.ItemHeight = 16;
			this.lbInput4.Items.AddRange(new object[] {
														  "centimeters/minute",
														  "centimeters/second",
														  "feet/hour",
														  "feet/minute",
														  "feet/second",
														  "inches/minute",
														  "inches/second",
														  "kilometers/hour",
														  "kilometers/second",
														  "knots",
														  "knots (UK)",
														  "Mach number (ISA/SL)",
														  "meters/hour",
														  "meters/minute",
														  "meters/second [m/s]",
														  "miles/hour",
														  "miles/minute",
														  "miles/second",
														  "speed of light",
														  "yards/hour",
														  "yards/minute",
														  "yards/second"});
			this.lbInput4.Location = new System.Drawing.Point(8, 48);
			this.lbInput4.Name = "lbInput4";
			this.lbInput4.Size = new System.Drawing.Size(224, 180);
			this.lbInput4.TabIndex = 1;
			// 
			// txtInput4
			// 
			this.txtInput4.Location = new System.Drawing.Point(8, 16);
			this.txtInput4.Name = "txtInput4";
			this.txtInput4.Size = new System.Drawing.Size(224, 22);
			this.txtInput4.TabIndex = 0;
			this.txtInput4.Text = "";
			// 
			// ChuyenDoiDonViDoLuong
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
			this.ClientSize = new System.Drawing.Size(626, 424);
			this.Controls.Add(this.groupBox2);
			this.Controls.Add(this.groupBox1);
			this.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.MaximizeBox = false;
			this.Name = "ChuyenDoiDonViDoLuong";
			this.Text = "Chuyen doi don vi do luong";
			this.groupBox1.ResumeLayout(false);
			this.groupBox2.ResumeLayout(false);
			this.tabControl1.ResumeLayout(false);
			this.tabPage1.ResumeLayout(false);
			this.groupBox13.ResumeLayout(false);
			this.groupBox4.ResumeLayout(false);
			this.groupBox3.ResumeLayout(false);
			this.tabPage2.ResumeLayout(false);
			this.groupBox14.ResumeLayout(false);
			this.groupBox6.ResumeLayout(false);
			this.groupBox5.ResumeLayout(false);
			this.tabPage3.ResumeLayout(false);
			this.groupBox15.ResumeLayout(false);
			this.groupBox8.ResumeLayout(false);
			this.groupBox7.ResumeLayout(false);
			this.tabPage4.ResumeLayout(false);
			this.groupBox16.ResumeLayout(false);
			this.groupBox10.ResumeLayout(false);
			this.groupBox9.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion



		#region Bits and Bytes
		// Chuyển đổi đơn vị đo lường (Bits and Bytes)
		double dblKetQua = 0;
		private void btnDoi_Click(object sender, System.EventArgs e)
		{
			if (txtInput1.Text == "")
			{
				MessageBox.Show("Các bạn hãy điền vào ô trống 1 giá trị!");
			}
			else
			{
				try
				{
					double dblInput1 = Convert.ToDouble(txtInput1.Text);
					if (lbInput1.SelectedIndex == 0 && lbOutput1.SelectedIndex == 0)
					{
						txtOutput1.Text = dblInput1.ToString();
					}
					else if (lbInput1.SelectedIndex == 0 && lbOutput1.SelectedIndex == 1)
					{
						dblKetQua = dblInput1 * 0.125;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 0 && lbOutput1.SelectedIndex == 2)
					{
						dblKetQua = dblInput1 * 0.000977;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 0 && lbOutput1.SelectedIndex == 3)
					{
						dblKetQua = dblInput1 * 0.000122;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 0 && lbOutput1.SelectedIndex == 4)
					{
						dblKetQua = dblInput1 * 0.000001;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 0 && lbOutput1.SelectedIndex == 5)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 0 && lbOutput1.SelectedIndex == 6)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 0 && lbOutput1.SelectedIndex == 7)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 0 && lbOutput1.SelectedIndex == 8)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 0 && lbOutput1.SelectedIndex == 9)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 0 && lbOutput1.SelectedIndex == 10)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 0 && lbOutput1.SelectedIndex == 11)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 0 && lbOutput1.SelectedIndex == 12)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 0 && lbOutput1.SelectedIndex == 13)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}


					else if (lbInput1.SelectedIndex == 1 && lbOutput1.SelectedIndex == 0)
					{
						dblKetQua = dblInput1 * 8;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 1 && lbOutput1.SelectedIndex == 1)
					{
						dblKetQua = dblInput1 * 1;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 1 && lbOutput1.SelectedIndex == 2)
					{
						dblKetQua = dblInput1 * 0.007813;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 1 && lbOutput1.SelectedIndex == 3)
					{
						dblKetQua = dblInput1 * 0.000977;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 1 && lbOutput1.SelectedIndex == 4)
					{
						dblKetQua = dblInput1 * 0.000008;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 1 && lbOutput1.SelectedIndex == 5)
					{
						dblKetQua = dblInput1 * 0.000001;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 1 && lbOutput1.SelectedIndex == 6)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 1 && lbOutput1.SelectedIndex == 7)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 1 && lbOutput1.SelectedIndex == 8)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 1 && lbOutput1.SelectedIndex == 9)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 1 && lbOutput1.SelectedIndex == 10)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 1 && lbOutput1.SelectedIndex == 11)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 1 && lbOutput1.SelectedIndex == 12)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 1 && lbOutput1.SelectedIndex == 13)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}


					else if (lbInput1.SelectedIndex == 2 && lbOutput1.SelectedIndex == 0)
					{
						dblKetQua = dblInput1 * 1024;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 2 && lbOutput1.SelectedIndex == 1)
					{
						dblKetQua = dblInput1 * 128;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 2 && lbOutput1.SelectedIndex == 2)
					{
						dblKetQua = dblInput1 * 1;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 2 && lbOutput1.SelectedIndex == 3)
					{
						dblKetQua = dblInput1 * 0.125;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 2 && lbOutput1.SelectedIndex == 4)
					{
						dblKetQua = dblInput1 * 0.000977;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 2 && lbOutput1.SelectedIndex == 5)
					{
						dblKetQua = dblInput1 * 0.000122;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 2 && lbOutput1.SelectedIndex == 6)
					{
						dblKetQua = dblInput1 * 0.000001;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 2 && lbOutput1.SelectedIndex == 7)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 2 && lbOutput1.SelectedIndex == 8)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 2 && lbOutput1.SelectedIndex == 9)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 2 && lbOutput1.SelectedIndex == 10)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 2 && lbOutput1.SelectedIndex == 11)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 2 && lbOutput1.SelectedIndex == 12)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 2 && lbOutput1.SelectedIndex == 13)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}


					else if (lbInput1.SelectedIndex == 3 && lbOutput1.SelectedIndex == 0)
					{
						dblKetQua = dblInput1 * 8192;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 3 && lbOutput1.SelectedIndex == 1)
					{
						dblKetQua = dblInput1 * 1024;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 3 && lbOutput1.SelectedIndex == 2)
					{
						dblKetQua = dblInput1 * 8;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 3 && lbOutput1.SelectedIndex == 3)
					{
						dblKetQua = dblInput1 * 1;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 3 && lbOutput1.SelectedIndex == 4)
					{
						dblKetQua = dblInput1 * 0.007813;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 3 && lbOutput1.SelectedIndex == 5)
					{
						dblKetQua = dblInput1 * 0.000977;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 3 && lbOutput1.SelectedIndex == 6)
					{
						dblKetQua = dblInput1 * 0.000008;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 3 && lbOutput1.SelectedIndex == 7)
					{
						dblKetQua = dblInput1 * 0.000001;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 3 && lbOutput1.SelectedIndex == 8)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 3 && lbOutput1.SelectedIndex == 9)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 3 && lbOutput1.SelectedIndex == 10)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 3 && lbOutput1.SelectedIndex == 11)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 3 && lbOutput1.SelectedIndex == 12)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 3 && lbOutput1.SelectedIndex == 13)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}


					else if (lbInput1.SelectedIndex == 4 && lbOutput1.SelectedIndex == 0)
					{
						dblKetQua = dblInput1 * 1048576;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 4 && lbOutput1.SelectedIndex == 1)
					{
						dblKetQua = dblInput1 * 131072;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 4 && lbOutput1.SelectedIndex == 2)
					{
						dblKetQua = dblInput1 * 1024;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 4 && lbOutput1.SelectedIndex == 3)
					{
						dblKetQua = dblInput1 * 128;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 4 && lbOutput1.SelectedIndex == 4)
					{
						dblKetQua = dblInput1 * 1;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 4 && lbOutput1.SelectedIndex == 5)
					{
						dblKetQua = dblInput1 * 0.125;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 4 && lbOutput1.SelectedIndex == 6)
					{
						dblKetQua = dblInput1 * 0.000977;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 4 && lbOutput1.SelectedIndex == 7)
					{
						dblKetQua = dblInput1 * 0.000122;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 4 && lbOutput1.SelectedIndex == 8)
					{
						dblKetQua = dblInput1 * 0.000001;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 4 && lbOutput1.SelectedIndex == 9)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 4 && lbOutput1.SelectedIndex == 10)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 4 && lbOutput1.SelectedIndex == 11)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 4 && lbOutput1.SelectedIndex == 12)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 4 && lbOutput1.SelectedIndex == 13)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}


					else if (lbInput1.SelectedIndex == 5 && lbOutput1.SelectedIndex == 0)
					{
						dblKetQua = dblInput1 * 8388608;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 5 && lbOutput1.SelectedIndex == 1)
					{
						dblKetQua = dblInput1 * 1048576;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 5 && lbOutput1.SelectedIndex == 2)
					{
						dblKetQua = dblInput1 * 8192;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 5 && lbOutput1.SelectedIndex == 3)
					{
						dblKetQua = dblInput1 * 1024;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 5 && lbOutput1.SelectedIndex == 4)
					{
						dblKetQua = dblInput1 * 8;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 5 && lbOutput1.SelectedIndex == 5)
					{
						dblKetQua = dblInput1 * 1;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 5 && lbOutput1.SelectedIndex == 6)
					{
						dblKetQua = dblInput1 * 0.007813;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 5 && lbOutput1.SelectedIndex == 7)
					{
						dblKetQua = dblInput1 * 0.000977;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 5 && lbOutput1.SelectedIndex == 8)
					{
						dblKetQua = dblInput1 * 0.000008;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 5 && lbOutput1.SelectedIndex == 9)
					{
						dblKetQua = dblInput1 * 0.000001;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 5 && lbOutput1.SelectedIndex == 10)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 5 && lbOutput1.SelectedIndex == 11)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 5 && lbOutput1.SelectedIndex == 12)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 5 && lbOutput1.SelectedIndex == 13)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}


					else if (lbInput1.SelectedIndex == 6 && lbOutput1.SelectedIndex == 0)
					{
						dblKetQua = dblInput1 * 1073741824;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 6 && lbOutput1.SelectedIndex == 1)
					{
						dblKetQua = dblInput1 * 134217728;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 6 && lbOutput1.SelectedIndex == 2)
					{
						dblKetQua = dblInput1 * 1048576;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 6 && lbOutput1.SelectedIndex == 3)
					{
						dblKetQua = dblInput1 * 131072;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 6 && lbOutput1.SelectedIndex == 4)
					{
						dblKetQua = dblInput1 * 1024;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 6 && lbOutput1.SelectedIndex == 5)
					{
						dblKetQua = dblInput1 * 128;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 6 && lbOutput1.SelectedIndex == 6)
					{
						dblKetQua = dblInput1 * 1;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 6 && lbOutput1.SelectedIndex == 7)
					{
						dblKetQua = dblInput1 * 0.125;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 6 && lbOutput1.SelectedIndex == 8)
					{
						dblKetQua = dblInput1 * 0.000977;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 6 && lbOutput1.SelectedIndex == 9)
					{
						dblKetQua = dblInput1 * 0.000122;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 6 && lbOutput1.SelectedIndex == 10)
					{
						dblKetQua = dblInput1 * 0.000001;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 6 && lbOutput1.SelectedIndex == 11)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 6 && lbOutput1.SelectedIndex == 12)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 6 && lbOutput1.SelectedIndex == 13)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}


					else if (lbInput1.SelectedIndex == 7 && lbOutput1.SelectedIndex == 0)
					{
						dblKetQua = dblInput1 * 8589934592;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 7 && lbOutput1.SelectedIndex == 1)
					{
						dblKetQua = dblInput1 * 1073741824;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 7 && lbOutput1.SelectedIndex == 2)
					{
						dblKetQua = dblInput1 * 8388608;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 7 && lbOutput1.SelectedIndex == 3)
					{
						dblKetQua = dblInput1 * 1048576;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 7 && lbOutput1.SelectedIndex == 4)
					{
						dblKetQua = dblInput1 * 8192;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 7 && lbOutput1.SelectedIndex == 5)
					{
						dblKetQua = dblInput1 * 1024;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 7 && lbOutput1.SelectedIndex == 6)
					{
						dblKetQua = dblInput1 * 8;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 7 && lbOutput1.SelectedIndex == 7)
					{
						dblKetQua = dblInput1 * 1;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 7 && lbOutput1.SelectedIndex == 8)
					{
						dblKetQua = dblInput1 * 0.007813;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 7 && lbOutput1.SelectedIndex == 9)
					{
						dblKetQua = dblInput1 * 0.000977;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 7 && lbOutput1.SelectedIndex == 10)
					{
						dblKetQua = dblInput1 * 0.000008;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 7 && lbOutput1.SelectedIndex == 11)
					{
						dblKetQua = dblInput1 * 0.000001;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 7 && lbOutput1.SelectedIndex == 12)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 7 && lbOutput1.SelectedIndex == 13)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}


					else if (lbInput1.SelectedIndex == 8 && lbOutput1.SelectedIndex == 0)
					{
						dblKetQua = dblInput1 * 1099511627776;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 8 && lbOutput1.SelectedIndex == 1)
					{
						dblKetQua = dblInput1 * 137438953472;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 8 && lbOutput1.SelectedIndex == 2)
					{
						dblKetQua = dblInput1 * 1073741824;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 8 && lbOutput1.SelectedIndex == 3)
					{
						dblKetQua = dblInput1 * 134217728;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 8 && lbOutput1.SelectedIndex == 4)
					{
						dblKetQua = dblInput1 * 1048576;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 8 && lbOutput1.SelectedIndex == 5)
					{
						dblKetQua = dblInput1 * 131072;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 8 && lbOutput1.SelectedIndex == 6)
					{
						dblKetQua = dblInput1 * 1024;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 8 && lbOutput1.SelectedIndex == 7)
					{
						dblKetQua = dblInput1 * 128;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 8 && lbOutput1.SelectedIndex == 8)
					{
						dblKetQua = dblInput1 * 1;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 8 && lbOutput1.SelectedIndex == 9)
					{
						dblKetQua = dblInput1 * 0.125;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 8 && lbOutput1.SelectedIndex == 10)
					{
						dblKetQua = dblInput1 * 0.000977;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 8 && lbOutput1.SelectedIndex == 11)
					{
						dblKetQua = dblInput1 * 0.000122;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 8 && lbOutput1.SelectedIndex == 12)
					{
						dblKetQua = dblInput1 * 0.000001;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 8 && lbOutput1.SelectedIndex == 13)
					{
						dblKetQua = dblInput1 * 0;
						txtOutput1.Text = dblKetQua.ToString();
					}


					else if (lbInput1.SelectedIndex == 9 && lbOutput1.SelectedIndex == 0)
					{
						dblKetQua = dblInput1 * 8796093022208;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 9 && lbOutput1.SelectedIndex == 1)
					{
						dblKetQua = dblInput1 * 1099511627776;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 9 && lbOutput1.SelectedIndex == 2)
					{
						dblKetQua = dblInput1 * 8589934592;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 9 && lbOutput1.SelectedIndex == 3)
					{
						dblKetQua = dblInput1 * 1073741824;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 9 && lbOutput1.SelectedIndex == 4)
					{
						dblKetQua = dblInput1 * 8388608;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 9 && lbOutput1.SelectedIndex == 5)
					{
						dblKetQua = dblInput1 * 1048576;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 9 && lbOutput1.SelectedIndex == 6)
					{
						dblKetQua = dblInput1 * 8192;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 9 && lbOutput1.SelectedIndex == 7)
					{
						dblKetQua = dblInput1 * 1024;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 9 && lbOutput1.SelectedIndex == 8)
					{
						dblKetQua = dblInput1 * 8;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 9 && lbOutput1.SelectedIndex == 9)
					{
						dblKetQua = dblInput1 * 1;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 9 && lbOutput1.SelectedIndex == 10)
					{
						dblKetQua = dblInput1 * 0.007813;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 9 && lbOutput1.SelectedIndex == 11)
					{
						dblKetQua = dblInput1 * 0.000977;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 9 && lbOutput1.SelectedIndex == 12)
					{
						dblKetQua = dblInput1 * 0.000008;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 9 && lbOutput1.SelectedIndex == 13)
					{
						dblKetQua = dblInput1 * 0.000001;
						txtOutput1.Text = dblKetQua.ToString();
					}


					else if (lbInput1.SelectedIndex == 10 && lbOutput1.SelectedIndex == 0)
					{
						dblKetQua = dblInput1 * 1125899906842624;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 10 && lbOutput1.SelectedIndex == 1)
					{
						dblKetQua = dblInput1 * 140737488355328;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 10 && lbOutput1.SelectedIndex == 2)
					{
						dblKetQua = dblInput1 * 1099511627776;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 10 && lbOutput1.SelectedIndex == 3)
					{
						dblKetQua = dblInput1 * 137438953472;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 10 && lbOutput1.SelectedIndex == 4)
					{
						dblKetQua = dblInput1 * 1073741824;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 10 && lbOutput1.SelectedIndex == 5)
					{
						dblKetQua = dblInput1 * 134217728;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 10 && lbOutput1.SelectedIndex == 6)
					{
						dblKetQua = dblInput1 * 1048576;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 10 && lbOutput1.SelectedIndex == 7)
					{
						dblKetQua = dblInput1 * 131072;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 10 && lbOutput1.SelectedIndex == 8)
					{
						dblKetQua = dblInput1 * 1024;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 10 && lbOutput1.SelectedIndex == 9)
					{
						dblKetQua = dblInput1 * 128;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 10 && lbOutput1.SelectedIndex == 10)
					{
						dblKetQua = dblInput1 * 1;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 10 && lbOutput1.SelectedIndex == 11)
					{
						dblKetQua = dblInput1 * 0.125;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 10 && lbOutput1.SelectedIndex == 12)
					{
						dblKetQua = dblInput1 * 0.000977;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 10 && lbOutput1.SelectedIndex == 13)
					{
						dblKetQua = dblInput1 * 0.000122;
						txtOutput1.Text = dblKetQua.ToString();
					}



					else if (lbInput1.SelectedIndex == 11 && lbOutput1.SelectedIndex == 0)
					{
						dblKetQua = dblInput1 * 9007199254740992;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 11 && lbOutput1.SelectedIndex == 1)
					{
						dblKetQua = dblInput1 * 1125899906842624;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 11 && lbOutput1.SelectedIndex == 2)
					{
						dblKetQua = dblInput1 * 8796093022208;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 11 && lbOutput1.SelectedIndex == 3)
					{
						dblKetQua = dblInput1 * 1099511627776;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 11 && lbOutput1.SelectedIndex == 4)
					{
						dblKetQua = dblInput1 * 8589934592;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 11 && lbOutput1.SelectedIndex == 5)
					{
						dblKetQua = dblInput1 * 1073741824;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 11 && lbOutput1.SelectedIndex == 6)
					{
						dblKetQua = dblInput1 * 8388608;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 11 && lbOutput1.SelectedIndex == 7)
					{
						dblKetQua = dblInput1 * 1048576;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 11 && lbOutput1.SelectedIndex == 8)
					{
						dblKetQua = dblInput1 * 8192;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 11 && lbOutput1.SelectedIndex == 9)
					{
						dblKetQua = dblInput1 * 1024;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 11 && lbOutput1.SelectedIndex == 10)
					{
						dblKetQua = dblInput1 * 8;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 11 && lbOutput1.SelectedIndex == 11)
					{
						dblKetQua = dblInput1 * 1;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 11 && lbOutput1.SelectedIndex == 12)
					{
						dblKetQua = dblInput1 * 0.007813;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 11 && lbOutput1.SelectedIndex == 13)
					{
						dblKetQua = dblInput1 * 0.000977;
						txtOutput1.Text = dblKetQua.ToString();
					}

				
					else if (lbInput1.SelectedIndex == 12 && lbOutput1.SelectedIndex == 0)
					{
						dblKetQua = dblInput1 * 1152921504606847000;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 12 && lbOutput1.SelectedIndex == 1)
					{
						dblKetQua = dblInput1 * 144115188075855870;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 12 && lbOutput1.SelectedIndex == 2)
					{
						dblKetQua = dblInput1 * 1125899906842624;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 12 && lbOutput1.SelectedIndex == 3)
					{
						dblKetQua = dblInput1 * 140737488355328;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 12 && lbOutput1.SelectedIndex == 4)
					{
						dblKetQua = dblInput1 * 1099511627776;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 12 && lbOutput1.SelectedIndex == 5)
					{
						dblKetQua = dblInput1 * 137438953472;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 12 && lbOutput1.SelectedIndex == 6)
					{
						dblKetQua = dblInput1 * 1073741824;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 12 && lbOutput1.SelectedIndex == 7)
					{
						dblKetQua = dblInput1 * 134217728;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 12 && lbOutput1.SelectedIndex == 8)
					{
						dblKetQua = dblInput1 * 1048576;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 12 && lbOutput1.SelectedIndex == 9)
					{
						dblKetQua = dblInput1 * 131072;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 12 && lbOutput1.SelectedIndex == 10)
					{
						dblKetQua = dblInput1 * 1024;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 12 && lbOutput1.SelectedIndex == 11)
					{
						dblKetQua = dblInput1 * 128;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 12 && lbOutput1.SelectedIndex == 12)
					{
						dblKetQua = dblInput1 * 1;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 12 && lbOutput1.SelectedIndex == 13)
					{
						dblKetQua = dblInput1 * 0.125;
						txtOutput1.Text = dblKetQua.ToString();
					}



					else if (lbInput1.SelectedIndex == 13 && lbOutput1.SelectedIndex == 0)
					{
						dblKetQua = dblInput1 * 9223372036854776000;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 13 && lbOutput1.SelectedIndex == 1)
					{
						dblKetQua = dblInput1 * 1152921504606847000;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 13 && lbOutput1.SelectedIndex == 2)
					{
						dblKetQua = dblInput1 * 9007199254740992;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 13 && lbOutput1.SelectedIndex == 3)
					{
						dblKetQua = dblInput1 * 1125899906842624;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 13 && lbOutput1.SelectedIndex == 4)
					{
						dblKetQua = dblInput1 * 8796093022208;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 13 && lbOutput1.SelectedIndex == 5)
					{
						dblKetQua = dblInput1 * 1099511627776;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 13 && lbOutput1.SelectedIndex == 6)
					{
						dblKetQua = dblInput1 * 8589934592;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 13 && lbOutput1.SelectedIndex == 7)
					{
						dblKetQua = dblInput1 * 1073741824;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 13 && lbOutput1.SelectedIndex == 8)
					{
						dblKetQua = dblInput1 * 8388608;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 13 && lbOutput1.SelectedIndex == 9)
					{
						dblKetQua = dblInput1 * 1048576;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 13 && lbOutput1.SelectedIndex == 10)
					{
						dblKetQua = dblInput1 * 8192;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 13 && lbOutput1.SelectedIndex == 11)
					{
						dblKetQua = dblInput1 * 1024;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 13 && lbOutput1.SelectedIndex == 12)
					{
						dblKetQua = dblInput1 * 8;
						txtOutput1.Text = dblKetQua.ToString();
					}
					else if (lbInput1.SelectedIndex == 13 && lbOutput1.SelectedIndex == 13)
					{
						dblKetQua = dblInput1 * 1;
						txtOutput1.Text = dblKetQua.ToString();
					}
				}
			
				catch (Exception ex)
				{
					MessageBox.Show("Đã có lỗi xảy ra! Bạn hãy kiểm tra lại xem mình đã thao tác đúng chưa nhé!",ex.Source);
				}
			}
		}

		#endregion

		#region Length
		// Độ dài
		private void btnDoi2_Click(object sender, System.EventArgs e)
		{
			if (txtInput2.Text == "")
			{
				MessageBox.Show("Các bạn hãy điền vào ô trống 1 giá trị!");
			}
			else
			{
				try
				{
					double dblInput2 = Convert.ToDouble(txtInput2.Text);
					if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 0.0001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 0.000004;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 0.1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 100;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 0 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * (1.4959855e+21);
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 17668424471477.5;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 818014818.460193;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 14959855000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 7436483476.641416;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 1495985500000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 170969771428.57144;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 35338518413530.82;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 81801481846.01924;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 490808891076.1155;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 490807909458.3334;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 743649834.963811;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 1472426673228.3464;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 1495985500;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 5889706692913.386;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 149598550;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0.000016;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 149598550000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 149598550000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 5889706692913386;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 92956229.370476;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 80776754.859611;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 80725146.558572;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 149598550000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 149598549999999980 * 1000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0.000005;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * (1.4959855e+23);
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 1 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 163602963692.03848;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 84670000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0.000046;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 0.8467;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0.000421;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 0.08467;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 0.009677;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 2.000094;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0.00463;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 0.027779;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 0.027779;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.000042;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 0.083337;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0.000085;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 0.333346;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.000008;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0.008467;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 8467;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 333.346457;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.000005;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.000005;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.000005;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 8.467;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 8467000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 8467000000.000002;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 2 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 0.00926;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 1828800000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 21599.14964;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 18288;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 9.090891;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 1828.8;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 209.005714;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 43200.34016;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 100;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 600;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 599.9988;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.909091;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 1800;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 1.8288;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 7200;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.18288;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 182.88;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 182880000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 7200000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.113636;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.098747;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.098684;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 182880;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 182879999999.99997;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 182880000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 3 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 200;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 100000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 1.181056;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0.000055;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0.000497;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 0.1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 0.011429;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 2.362223;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0.005468;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 0.032808;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 0.032808;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.00005;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 0.098425;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0.0001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 0.393701;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.00001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0.01;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 10000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 393.700787;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.000006;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.000005;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.000005;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 10;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 10000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 10000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 4 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 0.010936;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 201168402336.80466;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 2375.911212;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0.11;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 2011.684023;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 201.168402;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 22.990675;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 4752.046922;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 11.000022;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 66.000132;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 66;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 198.000396;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0.201168;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 792.001584;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.020117;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 20.11684;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 20116840.23368;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 792001.584003;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.0125;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.010862;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.010855;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 20116.840234;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 20116840233.680466;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 20116840233680.47;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 5 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 22.000044;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 1000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 11.810559;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0.000547;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 10;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0.004971;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 0.114286;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 23.622233;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0.054681;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 0.328084;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 0.328083;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.000497;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 0.984252;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0.001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 3.937008;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.0001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0.1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 100000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 3937.007874;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.000062;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.000054;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.000054;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 100;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 100000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 100000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 6 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 0.109361;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 8750000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 103.342388;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0.004785;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 87.5;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0.043496;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 8.75;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 206.694541;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0.478456;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 2.870735;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 2.870729;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.00435;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 8.612205;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0.00875;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 34.448819;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.000875;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0.875;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 875000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 34448.818898;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.000544;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.000472;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.000472;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 875;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 875000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 875000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 7 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 0.956912;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 42333000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 0.499976;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0.000023;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 0.42333;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0.00021;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 0.042333;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 0.004838;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0.002315;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 0.013889;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 0.013889;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.000021;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 0.041666;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0.000042;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 0.166665;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.000004;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0.004233;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 4233.3;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 166.665354;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.000003;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.000002;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.000002;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 4.2333;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 4233300;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 4233300000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 8 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 0.00463;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 18288000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 215.991496;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0.01;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 182.88;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0.090909;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 18.288;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 2.090057;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 432.003402;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 6;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 5.999988;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.009091;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 18;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0.018288;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 72;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.001829;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 1.8288;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 1828800;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 72000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.001136;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.000987;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.000987;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 1828.8;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 1828800000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 1828800000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 9 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 2;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 3048000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 35.998583;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0.001667;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 30.48;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0.015151;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 3.048;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 0.348343;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 72.000567;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0.166667;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 0.999998;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.001515;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 3;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0.003048;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 12;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.000305;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0.3048;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 304800;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 12000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.000189;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.000165;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.000164;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 304.8;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 304800000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 304800000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 10 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 0.333333;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 3048006096.012192;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 35.998655;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0.001667;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 30.480061;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0.015152;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 3.048006;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 0.348344;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 72.000711;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0.166667;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 1.000002;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.001515;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 3.000006;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0.003048;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 12.000024;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.000305;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0.304801;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 304800.609601;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 12000.024;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.000189;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.000165;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.000164;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 304.80061;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 304800609.601219;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 304800609601.2192;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 11 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 0.333334;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 2011680000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 23759.064604;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 1.1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 20116.8;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 9.99998;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 2011.68;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 229.906286;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 47520.374176;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 110;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 660;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 659.99868;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 1980;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 2.01168;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 7920;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.201168;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 201.168;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 201168000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 7920000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.125;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.108622;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.108553;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 201168;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 201168000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 201168000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 12 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 220;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 1016000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 11.999528;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0.000556;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 10.16;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0.00505;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 1.016;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 0.116114;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 24.000189;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0.055556;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 0.333333;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 0.333333;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.000505;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0.001016;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 4;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.000102;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0.1016;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 101600;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 4000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.000063;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.000055;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.000055;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 101.6;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 101600000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 101600000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 13 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 0.111111;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 1000000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 11810.558639;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0.546807;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 10000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 4.97096;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 1000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 114.285714;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 23622.233246;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 54.680665;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 328.08399;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 328.083333;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.497097;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 984.251969;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 3937.007874;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 100;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 100000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 3937007.874016;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.062137;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.053996;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.053961;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 100000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 100000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 100000000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 14 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 109.36133;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 254000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 2.999882;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0.000139;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 2.54;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0.001263;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 0.254;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 0.029029;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 6.000047;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0.013889;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 0.083333;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 0.083333;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.000126;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 0.25;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0.000254;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.000025;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0.0254;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 25400;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 1000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.000016;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.000014;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.000014;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 25.4;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 25400000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 25400000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 15 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 0.027778;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 10000000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 118105.586394;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 5.468066;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 100000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 49.709596;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 10000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 1142.857143;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 236222.332459;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 546.806649;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 3280.839895;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 3280.833333;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 4.97097;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 9842.519685;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 10;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 39370.07874;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 1000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 1000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 39370078.740157;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.621371;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.539957;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.539612;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 1000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 999999999999.9999;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 1000000000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 16 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 1093.613298;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 9.460528404999999e+25;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 63239.439186;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 1117341254871855400;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 51730798365048.12;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 946052840500000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 470279044576830.8;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 94605284050000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 10812032462857142;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 2234788086126662700;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 5173079836504812;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 31038479019028868;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 31038416942070836;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 47027998513680.11;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 93115437057086620;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 94605284050000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 372461748228346500;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 9460528405000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 9460528405000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 9.460528405e+21;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 372461748228346400 * 1000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 5878499814210.014;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 5108276676565.875;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 5105012996550.802;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 9460528405000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 9.460528405e+24;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0.306595;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 9.460528405000001e+27;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 17 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 10346159673009624;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 10000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 118.105586;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0.005468;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 100;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0.04971;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 10;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 1.142857;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 236.222332;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0.546807;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 3.28084;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 3.280833;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.004971;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 9.84252;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0.01;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 39.370079;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 1000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 39370.07874;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.000621;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.00054;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.00054;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 1000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 1000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 1000000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 18 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 1.093613;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 10000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 0.000118;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 0.0001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 0.00001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 0.000001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 0.000236;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0.000001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 0.000003;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 0.000003;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 0.00001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 0.000039;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0.000001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 0.03937;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 0.001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 1000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 1000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 19 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 0.000001;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 254000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 0.003;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 0.00254;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0.000001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 0.000254;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 0.000029;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 0.006;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0.000014;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 0.000083;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 0.000083;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 0.00025;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 0.001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0.000025;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 25.4;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 0.0254;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 25400;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 25400000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 20 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 0.000028;
						txtOutput2.Text = dblKetQua.ToString();
					}




					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 16093440000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 190072.51683;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 8.8;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 160934.4;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 79.99984;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 16093.44;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 1839.250286;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 380162.993409;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 880;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 5280;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 5279.98944;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 8;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 15840;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 16.09344;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 63360;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 1.609344;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 1609.344;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 1609344000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 63360000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.868976;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.868421;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 1609344;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 1609344000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 1609344000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 21 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 1760;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 18520000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 218731.546002;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 10.126859;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 185200;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 92.062172;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 18520;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 2116.571429;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 437483.759715;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 1012.685914;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 6076.115486;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 6076.103333;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 9.206236;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 18228.346457;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 18.52;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 72913.385827;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 1.852;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 1852;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 1852000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 72913385.826772;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 1.150779;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.999361;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 1852000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 1852000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 1852000000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 22 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 2025.371829;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 18531840000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 218871.383016;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 10.133333;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 185318.4;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 92.121028;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 18531.84;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 2117.924571;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 437763.446956;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 1013.333333;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 6080;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 6079.98784;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 9.212121;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 18240;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 18.53184;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 72960;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 1.853184;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 1853.184;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 1853184000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 72960000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 1.151515;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 1.000639;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 1853184;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 1853183999999.9998;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 1853184000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 23 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 2026.666667;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 10000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 0.118106;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0.000005;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 0.1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0.00005;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 0.01;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 0.001143;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 0.236222;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0.000547;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 0.003281;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 0.003281;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.000005;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 0.009843;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0.00001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 0.03937;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.000001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0.001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 1000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 39.370079;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.000001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.000001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.000001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 1000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 1000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 24 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 0.001094;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 10;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 0.001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 0.000039;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 0.000001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 1000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 25 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 3.0856776e+26;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 206263.870873;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 3644357623715601400;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 168726902887139.12;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 3085677600000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 1533877867575757.5;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 308567760000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 35264886857142856;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 7289059598894480000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 16872690288713910;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 101236141732283460;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 101235939260000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 153388093533762.8;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 303708425196850400;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 308567760000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 1214833700787401700;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 30856776000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 3.261633;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 30856776000000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 3.0856776000000003e+22;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 1.2148337007874015e+21;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 19173511691720.35;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 16661326133909.287;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 16650681205967.676;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 30856776000000000 * 1000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 3.0856775999999997e+25;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 3.0856776000000003e+28;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 26 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 33745380577427820;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 0.01;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 0.000001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 0.001;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 27 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}



					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 0)
					{
						dblKetQua = dblInput2 * 9144000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 1)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 2)
					{
						dblKetQua = dblInput2 * 107.995748;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 3)
					{
						dblKetQua = dblInput2 * 0.005;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 4)
					{
						dblKetQua = dblInput2 * 91.44;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 5)
					{
						dblKetQua = dblInput2 * 0.045454;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 6)
					{
						dblKetQua = dblInput2 * 9.144;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 7)
					{
						dblKetQua = dblInput2 * 1.045029;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 8)
					{
						dblKetQua = dblInput2 * 216.001701;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 9)
					{
						dblKetQua = dblInput2 * 0.5;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 10)
					{
						dblKetQua = dblInput2 * 3;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 11)
					{
						dblKetQua = dblInput2 * 2.999994;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 12)
					{
						dblKetQua = dblInput2 * 0.004545;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 13)
					{
						dblKetQua = dblInput2 * 9;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 14)
					{
						dblKetQua = dblInput2 * 0.009144;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 15)
					{
						dblKetQua = dblInput2 * 36;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 16)
					{
						dblKetQua = dblInput2 * 0.000914;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 17)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 18)
					{
						dblKetQua = dblInput2 * 0.9144;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 19)
					{
						dblKetQua = dblInput2 * 914400;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 20)
					{
						dblKetQua = dblInput2 * 36000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 21)
					{
						dblKetQua = dblInput2 * 0.000568;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 22)
					{
						dblKetQua = dblInput2 * 0.000494;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 23)
					{
						dblKetQua = dblInput2 * 0.000493;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 24)
					{
						dblKetQua = dblInput2 * 914.4;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 25)
					{
						dblKetQua = dblInput2 * 914400000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 26)
					{
						dblKetQua = dblInput2 * 0;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 27)
					{
						dblKetQua = dblInput2 * 914400000000;
						txtOutput2.Text = dblKetQua.ToString();
					}
					else if (lbInput2.SelectedIndex == 28 && lbOutput2.SelectedIndex == 28)
					{
						dblKetQua = dblInput2 * 1;
						txtOutput2.Text = dblKetQua.ToString();
					}
				}
				catch (Exception ex)
				{
					MessageBox.Show("Đã có lỗi xảy ra! Bạn hãy kiểm tra lại xem mình đã thao tác đúng chưa nhé!",ex.Source);
				}
			}
		}
		#endregion

		#region Volume
		// Volume
		private void button2_Click(object sender, System.EventArgs e)
		{
			if (txtInput3.Text == "")
			{
				MessageBox.Show("Các bạn hãy điền vào ô trống 1 giá trị!");
			}
			else
			{
				try
				{
					double dblInput3 = Convert.ToDouble(txtInput3.Text);
					if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 0)
					{
						txtOutput3.Text = dblInput3.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 4.371539;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 4.511677;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 15898.729493;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 158987.294928;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 158.987295;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000159;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 5.614583;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 9702;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.158987;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 158987294.928;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.207948;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 672;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 1589.872949;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 5595.570521;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 5376;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 34.972316;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 36.093414;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 42;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 158.987295;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 158.982843;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 158987.294928;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 279.778526;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 288.747314;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 336;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 139.889263;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 144.373657;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 168;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 10752;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 0 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 32256;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.228752;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 1.032057;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 3636.872;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 36368.72;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 36.36872;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000036;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 1.284349;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 2219.355462;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.036369;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 36368720;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.047568;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 153.72159;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 363.6872;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 1280;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 1229.772724;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 8;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 8.256454;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 9.607599;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 36.36872;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 36.367702;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 36368.72;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 64;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 66.051632;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 76.860795;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 32;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 33.025816;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 38.430398;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 2459.545447;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 1 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 7378.636342;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.221647;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.968939;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 3523.907017;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 35239.070167;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 35.23907;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000035;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 1.244456;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 2150.42;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.035239;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 35239070.16688;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.046091;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 148.94684;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 352.390702;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 1240.241884;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 1191.574719;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 7.751512;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 8;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 9.309177;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 35.23907;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 35.238084;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 35239.070167;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 62.012094;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 64;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 74.47342;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 31.006047;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 32;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 37.23671;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 2383.149437;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 2 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 7149.448312;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.000063;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.000275;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.000284;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 10;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 0.01;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.000353;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 0.610237;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.00001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 10000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.000013;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 0.042268;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 0.1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 0.351951;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 0.33814;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.0022;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.00227;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.002642;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 0.01;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.01;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 10;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 0.017598;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 0.018162;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 0.021134;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.008799;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.009081;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 0.010567;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 0.67628;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 3 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 2.028841;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.000006;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.000027;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.000028;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 0.1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 0.001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.000035;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 0.061024;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 1000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 0.004227;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 0.01;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 0.035195;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 0.033814;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.00022;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.000227;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.000264;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 0.001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 0.00176;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 0.001816;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 0.002113;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.00088;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.000908;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 0.001057;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 0.067628;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 4 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 0.202884;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.00629;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.027496;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.028378;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 100;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 1000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.035315;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 61.023744;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 1000000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.001308;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 4.226753;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 10;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 35.19508;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 33.814023;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.219969;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.227021;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.264172;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.999972;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 1000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 1.759754;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 1.816166;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 2.113376;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.879877;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.908083;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 1.056688;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 67.628045;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 5 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 202.884136;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 6289.81077;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 27496.156037;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 28377.593258;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 100000000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 1000000000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 1000000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 35314.666721;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 61023744.094732;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 1000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 1000000000000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 1307.950619;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 4226752.83773;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 10000000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 35195079.727854;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 33814022.701843;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 219969.248299;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 227020.746067;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 264172.052358;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 1000000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 999972.000784;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 1000000000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 1759753.986393;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 1816165.968538;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 2113376.418865;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 879876.993196;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 908082.984269;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 1056688.209433;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 67628045.403686;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 6 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 202884136.211058;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.178108;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.778604;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.803564;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 2831.684659;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 28316.846592;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 28.316847;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000028;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 1728;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.028317;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 28316846.592;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.037037;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 119.688312;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 283.168466;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 996.613673;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 957.506494;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 6.228835;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 6.428512;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 7.480519;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 28.316847;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 28.316054;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 28316.846592;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 49.830684;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 51.428093;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 59.844156;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 24.915342;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 25.714047;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 29.922078;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 1915.012987;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 7 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 5745.038961;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.000103;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.000451;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.000465;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 1.638706;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 16.387064;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 0.016387;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.000579;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.000016;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 16387.064;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.000021;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 0.069264;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 0.163871;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 0.576744;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 0.554113;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.003605;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.00372;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.004329;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 0.016387;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.016387;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 16.387064;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 0.028837;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 0.029762;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 0.034632;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.014419;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.014881;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 0.017316;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 1.108225;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 8 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 3.324675;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 6.289811;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 27.496156;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 28.377593;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 100000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 1000000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 1000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 35.314667;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 61023.744095;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 1000000000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 1.307951;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 4226.752838;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 10000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 35195.079728;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 33814.022702;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 219.969248;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 227.020746;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 264.172052;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 1000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 999.972001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 1000000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 1759.753986;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 1816.165969;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 2113.376419;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 879.876993;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 908.082984;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 1056.688209;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 67628.045404;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 9 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 202884.136211;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 0.0001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 0.001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 0.000061;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 0.000004;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 0.00001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 0.000035;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 0.000034;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 0.001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 0.000002;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 0.000002;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 0.000002;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 0.000068;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 10 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 0.000203;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 4.808905;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 21.02232;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 21.696227;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 76455.485798;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 764554.857984;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 764.554858;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000765;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 27;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 46656;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.764555;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 764554857.984;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 3231.584416;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 7645.54858;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 26908.569183;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 25852.675325;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 168.178557;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 173.569814;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 201.974026;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 764.554858;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 764.533451;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 764554.857984;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 1345.428459;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 1388.558514;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 1615.792208;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 672.71423;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 694.279257;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 807.896104;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 51705.350649;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 11 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 155116.051948;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.001488;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.006505;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.006714;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 23.658824;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 236.588237;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 0.236588;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.008355;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 14.4375;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.000237;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 236588.2365;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.000309;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 2.365882;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 8.326742;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 8;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.052042;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.05371;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.0625;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 0.236588;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.236582;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 236.588237;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 0.416337;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 0.429684;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 0.5;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.208169;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.214842;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 0.25;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 16;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 12 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 48;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.000629;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.00275;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.002838;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 10;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 100;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 0.1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.003531;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 6.102374;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.0001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 100000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.000131;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 0.422675;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 3.519508;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 3.381402;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.021997;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.022702;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.026417;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 0.1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.099997;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 100;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 0.175975;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 0.181617;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 0.211338;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.087988;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.090808;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 0.105669;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 6.762805;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 13 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 20.288414;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.000179;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.000781;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.000806;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 2.841306;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 28.413063;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 0.028413;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.001003;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 1.733871;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.000028;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 28413.0625;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.000037;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 0.120095;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 0.284131;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 0.96076;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.00625;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.00645;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.007506;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 0.028413;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.028412;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 28.413063;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 0.05;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 0.051603;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 0.060047;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.025;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.025801;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 0.030024;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 1.92152;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 14 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 5.76456;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.000186;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.000813;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.000839;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 2.957353;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 29.57353;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 0.029574;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.001044;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 1.804688;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.00003;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 29573.529563;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.000039;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 0.125;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 0.295735;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 1.040843;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.006505;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.006714;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.007813;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 0.029574;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.029573;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 29.57353;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 0.052042;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 0.05371;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 0.0625;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.026021;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.026855;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 0.03125;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 2;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 15 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 6;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.028594;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.125;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.129007;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 454.609;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 4546.09;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 4.54609;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000005;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.160544;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 277.419433;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.004546;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 4546090;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.005946;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 19.215199;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 45.4609;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 160;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 153.72159;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 1.032057;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 1.20095;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 4.54609;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 4.545963;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 4546.09;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 8;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 8.256454;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 9.607599;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 4;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 4.128227;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 4.8038;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 307.443181;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 16 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 922.329543;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.027706;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.121117;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.125;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 440.488377;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 4404.883771;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 4.404884;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000004;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.155557;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 268.8025;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.004405;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 4404883.77086;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.005761;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 18.618355;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 44.048838;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 155.030236;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 148.94684;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.968939;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 1.163647;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 4.404884;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 4.40476;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 4404.883771;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 7.751512;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 8;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 9.309177;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 3.875756;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 4;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 4.654589;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 297.89368;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 17 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 893.681039;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.02381;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.104084;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.107421;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 378.541178;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 3785.411784;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 3.785412;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000004;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.133681;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 231;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.003785;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 3785411.784;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.004951;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 16;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 37.854118;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 133.22787;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 128;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.832674;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.859367;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 3.785412;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 3.785306;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 3785.411784;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 6.661393;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 6.874936;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 8;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 3.330697;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 3.437468;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 4;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 256;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 18 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 768;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.00629;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.027496;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.028378;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 100;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 1000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.035315;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 61.023744;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 1000000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.001308;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 4.226753;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 10;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 35.19508;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 33.814023;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.219969;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.227021;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.264172;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.999972;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 1000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 1.759754;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 1.816166;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 2.113376;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.879877;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.908083;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 1.056688;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 67.628045;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 19 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 202.884136;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.00629;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.027497;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.028378;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 100.0028;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 1000.028;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 1.000028;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.035316;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 61.025453;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 1000028;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.001308;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 4.226871;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 10.00028;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 35.196065;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 33.814969;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.219975;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.227027;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.264179;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 1.000028;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 1000.028;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 1.759803;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 1.816217;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 2.113436;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.879902;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.908108;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 1.056718;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 67.629939;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 20 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 202.889817;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.000006;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.000027;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.000028;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 0.1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 0.001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.000035;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 0.061024;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 1000;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 0.004227;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 0.01;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 0.035195;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 0.033814;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.00022;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.000227;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.000264;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 0.001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 0.00176;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 0.001816;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 0.002113;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.00088;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.000908;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 0.001057;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 0.067628;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 21 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 0.202884;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.003574;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.015625;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.016126;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 56.826125;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 568.26125;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 0.568261;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.020068;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 34.677429;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.000568;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 568261.25;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.000743;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 2.4019;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 5.682613;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 20;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 19.215199;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.125;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.129007;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.150119;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 0.568261;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.568245;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 568.26125;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 1.032057;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 1.20095;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.5;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.516028;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 0.600475;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 38.430398;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 22 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 115.291193;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.003463;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.01514;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.015625;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 55.061047;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 550.610471;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 0.55061;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.019445;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 33.600313;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.000551;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 550610.471358;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.00072;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 2.327294;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 5.506105;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 19.378779;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 18.618355;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.121117;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.125;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.145456;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 0.55061;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.550595;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 550.610471;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 0.968939;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 1.163647;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.484469;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.5;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 0.581824;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 37.23671;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 23 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 111.71013;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.002976;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.013011;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.013428;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 47.317647;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 473.176473;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 0.473176;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.01671;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 28.875;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.000473;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 473176.473;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.000619;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 2;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 4.731765;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 16.653484;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 16;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.104084;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.107421;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.125;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 0.473176;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.473163;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 473.176473;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 0.832674;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 0.859367;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.416337;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.429684;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 0.5;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 32;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 24 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 96;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.007149;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.03125;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.032252;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 113.65225;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 1136.5225;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 1.136523;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.040136;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 69.354858;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.001137;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 1136522.5;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.001487;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 4.8038;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 11.365225;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 40;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 38.430398;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.25;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.258014;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.300237;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 1.136523;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 1.136491;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 1136.5225;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 2;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 2.064113;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 2.4019;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 1.032057;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 1.20095;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 76.860795;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 25 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 230.582386;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.006926;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.030279;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.03125;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 110.122094;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 1101.220943;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 1.101221;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.038889;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 67.200625;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.001101;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 1101220.942715;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.00144;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 4.654589;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 11.012209;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 38.757559;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 37.23671;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.242235;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.25;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.290912;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 1.101221;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 1.10119;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 1101.220943;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 1.937878;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 2;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 2.327294;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.968939;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 1.163647;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 74.47342;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 26 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 223.42026;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.005952;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.026021;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.026855;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 94.635295;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 946.352946;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 0.946353;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0.000001;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.03342;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 57.75;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.000946;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 946352.946;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.001238;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 4;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 9.463529;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 33.306967;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 32;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.208169;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.214842;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.25;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 0.946353;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.946326;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 946.352946;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 1.665348;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 1.718734;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 2;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.832674;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.859367;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 64;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 27 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 192;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.000093;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.000407;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.00042;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 1.478676;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 14.786765;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 0.014787;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.000522;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 0.902344;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.000015;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 14786.764781;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.000019;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 0.0625;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 0.147868;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 0.520421;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 0.5;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.003253;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.003357;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.003906;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 0.014787;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.014786;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 14.786765;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 0.026021;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 0.026855;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 0.03125;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.013011;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.013428;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 0.015625;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 28 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 3;
						txtOutput3.Text = dblKetQua.ToString();
					}



					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 0)
					{
						dblKetQua = dblInput3 * 0.000031;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 1)
					{
						dblKetQua = dblInput3 * 0.000136;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 2)
					{
						dblKetQua = dblInput3 * 0.00014;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 3)
					{
						dblKetQua = dblInput3 * 0.492892;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 4)
					{
						dblKetQua = dblInput3 * 4.928922;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 5)
					{
						dblKetQua = dblInput3 * 0.004929;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 6)
					{
						dblKetQua = dblInput3 * 0;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 7)
					{
						dblKetQua = dblInput3 * 0.000174;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 8)
					{
						dblKetQua = dblInput3 * 0.300781;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 9)
					{
						dblKetQua = dblInput3 * 0.000005;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 10)
					{
						dblKetQua = dblInput3 * 4928.921594;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 11)
					{
						dblKetQua = dblInput3 * 0.000006;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 12)
					{
						dblKetQua = dblInput3 * 0.020833;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 13)
					{
						dblKetQua = dblInput3 * 0.049289;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 14)
					{
						dblKetQua = dblInput3 * 0.173474;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 15)
					{
						dblKetQua = dblInput3 * 0.166667;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 16)
					{
						dblKetQua = dblInput3 * 0.001084;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 17)
					{
						dblKetQua = dblInput3 * 0.001119;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 18)
					{
						dblKetQua = dblInput3 * 0.001302;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 19)
					{
						dblKetQua = dblInput3 * 0.004929;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 20)
					{
						dblKetQua = dblInput3 * 0.004929;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 21)
					{
						dblKetQua = dblInput3 * 4.928922;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 22)
					{
						dblKetQua = dblInput3 * 0.008674;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 23)
					{
						dblKetQua = dblInput3 * 0.008952;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 24)
					{
						dblKetQua = dblInput3 * 0.010417;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 25)
					{
						dblKetQua = dblInput3 * 0.004337;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 26)
					{
						dblKetQua = dblInput3 * 0.004476;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 27)
					{
						dblKetQua = dblInput3 * 0.005208;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 28)
					{
						dblKetQua = dblInput3 * 0.333333;
						txtOutput3.Text = dblKetQua.ToString();
					}
					else if (lbInput3.SelectedIndex == 29 && lbOutput3.SelectedIndex == 29)
					{
						dblKetQua = dblInput3 * 1;
						txtOutput3.Text = dblKetQua.ToString();
					}
				}
				catch (Exception ex)
				{
					MessageBox.Show("Đã có lỗi xảy ra! Bạn hãy kiểm tra lại xem mình đã thao tác đúng chưa nhé!",ex.Source);
				}
			}
		}
		#endregion

		#region Speed
		// Speed
		private void button3_Click(object sender, System.EventArgs e)
		{
			if (txtInput4.Text == "")
			{
				MessageBox.Show("Các bạn hãy điền vào ô trống 1 giá trị!");
			}
			else
			{
				try
				{
					double dblInput4 = Convert.ToDouble(txtInput4.Text);
					if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 0)
					{
						txtOutput4.Text = dblInput4.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 0.016667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 1.9685;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 0.032808;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 0.000547;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 0.3937;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 0.006562;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 0.0006;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 0.000324;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 0.000324;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 0.6;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 0.01;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.000167;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 0.000373;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.000006;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 0.656167;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 0.010936;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 0 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 0.000182;
						txtOutput4.Text = dblKetQua.ToString();
					}




					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 60;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 118.11;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 1.968504;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 0.032808;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 23.622;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 0.393701;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 0.036;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0.00001;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 0.019438;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 0.019426;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.000029;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 36;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 0.6;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.01;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 0.022369;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.000373;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0.000006;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 39.37;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 0.656168;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 1 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 0.010936;
						txtOutput4.Text = dblKetQua.ToString();
					}



					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 0.508001;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 0.008467;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 0.016667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 0.000278;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 0.2;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 0.003333;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 0.000305;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 0.000165;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 0.000164;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 0.304801;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 0.00508;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.000085;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 0.000189;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.000003;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 0.333333;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 0.005556;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 2 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 0.000093;
						txtOutput4.Text = dblKetQua.ToString();
					}



					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 30.48;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 0.508;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 59.99988;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 0.016667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 11.999976;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 0.2;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 0.018288;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0.000005;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 0.009875;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 0.009868;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.000015;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 18.288;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 0.3048;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.00508;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 0.011364;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.000189;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0.000003;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 19.99996;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 0.333333;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 3 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 0.005556;
						txtOutput4.Text = dblKetQua.ToString();
					}



					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 1828.8;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 30.48;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 3599.9928;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 60;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 719.99856;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 12;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 1.09728;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0.000305;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 0.592484;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 0.592109;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.000896;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 1097.28;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 18.288;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.3048;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 0.681818;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.011364;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0.000189;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 1199.9976;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 20;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 4 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 0.333333;
						txtOutput4.Text = dblKetQua.ToString();
					}



					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 2.540005;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 0.042333;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 5;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 0.083334;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 0.001389;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 0.016667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 0.001524;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 0.000823;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 0.000822;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.000001;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 1.524003;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 0.0254;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.000423;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 0.000947;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.000016;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 1.666667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 0.027778;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 5 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 0.000463;
						txtOutput4.Text = dblKetQua.ToString();
					}




					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 152.4;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 2.54;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 299.9994;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 5;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 0.083333;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 59.99988;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 0.09144;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0.000025;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 0.049374;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 0.049342;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.000075;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 91.44;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 1.524;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.0254;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 0.056818;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.000947;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0.000016;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 99.9998;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 1.666667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 6 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 0.027778;
						txtOutput4.Text = dblKetQua.ToString();
					}



					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 1666.666667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 27.777778;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 3280.833333;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 54.680665;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 0.911344;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 656.166667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 10.936133;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0.000278;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 0.539957;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 0.539615;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.000816;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 1000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 16.666667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.277778;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 0.621371;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.010356;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0.000173;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 1093.611111;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 18.226888;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 7 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 0.303781;
						txtOutput4.Text = dblKetQua.ToString();
					}



					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 6000000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 100000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 11811000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 196850.393701;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 3280.839895;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 2362200;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 39370.07874;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 3600;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 1943.844492;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 1942.615149;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 2.938641;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 3600000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 60000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 1000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 2236.936292;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 37.282272;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0.621371;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0.000003;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 3937000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 65616.7979;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 8 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 1093.613298;
						txtOutput4.Text = dblKetQua.ToString();
					}



					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 3086.666667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 51.444444;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 6076.103333;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 101.268591;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 1.68781;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 1215.220667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 20.253718;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 1.852;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0.000514;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 0.999368;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.001512;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 1852;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 30.866667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.514444;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 1.150779;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.01918;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0.00032;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 2025.367778;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 33.756197;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 9 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 0.562603;
						txtOutput4.Text = dblKetQua.ToString();
					}



					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 3088.62;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 51.477;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 6079.94847;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 101.332677;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 1.688878;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 1215.989694;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 20.266535;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 1.853172;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0.000515;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 1.000633;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.001513;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 1853.172;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 30.8862;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.51477;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 1.151508;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.019192;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0.00032;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 2026.64949;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 33.777559;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 10 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 0.562959;
						txtOutput4.Text = dblKetQua.ToString();
					}



					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 2041759.8;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 34029.33;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 4019204.1663;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 66986.870079;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 1116.447835;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 803840.83326;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 13397.374016;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 1225.05588;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0.340293;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 661.477257;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 661.05892;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 1225055.88;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 20417.598;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 340.2933;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 761.214433;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 12.686907;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0.211448;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0.000001;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 1339734.7221;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 22328.956693;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 11 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 372.149278;
						txtOutput4.Text = dblKetQua.ToString();
					}



					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 1.666667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 0.027778;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 3.280833;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 0.054681;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 0.000911;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 0.656167;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 0.010936;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 0.001;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 0.00054;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 0.00054;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.000001;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 0.016667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.000278;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 0.000621;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.00001;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 1.093611;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 0.018227;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 12 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 0.000304;
						txtOutput4.Text = dblKetQua.ToString();
					}




					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 100;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 1.666667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 196.85;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 3.28084;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 0.054681;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 39.37;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 0.656168;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 0.06;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0.000017;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 0.032397;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 0.032377;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.000049;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 60;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.016667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 0.037282;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.000621;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0.00001;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 65.616667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 1.093613;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 13 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 0.018227;
						txtOutput4.Text = dblKetQua.ToString();
					}



					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 6000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 100;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 11811;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 196.850394;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 3.28084;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 2362.2;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 39.370079;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 3.6;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0.001;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 1.943844;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 1.942615;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.002939;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 3600;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 60;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 2.236936;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.037282;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0.000621;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 3937;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 65.616798;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 14 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 1.093613;
						txtOutput4.Text = dblKetQua.ToString();
					}



					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 2682.24;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 44.704;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 5279.98944;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 88;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 1.466667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 1055.997888;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 17.6;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 1.609344;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0.000447;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 0.868976;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 0.868427;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.001314;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 1609.344;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 26.8224;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.44704;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.016667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0.000278;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 1759.99648;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 29.333333;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 15 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 0.488889;
						txtOutput4.Text = dblKetQua.ToString();
					}




					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 160934.4;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 2682.24;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 316799.3664;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 5280;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 88;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 63359.87328;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 1056;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 96.56064;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0.026822;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 52.138575;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 52.105601;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.078821;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 96560.64;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 1609.344;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 26.8224;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 60;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0.016667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 105599.7888;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 1760;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 16 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 29.333333;
						txtOutput4.Text = dblKetQua.ToString();
					}



					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 9656064;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 160934.4;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 19007961.984;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 316800;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 5280;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 3801592.3968;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 63360;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 5793.6384;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 1.609344;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 3128.314471;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 3126.336034;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 4.729285;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 5793638.4;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 96560.64;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 1609.344;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 3600;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 60;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0.000005;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 6335987.328;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 105600;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 17 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 1760;
						txtOutput4.Text = dblKetQua.ToString();
					}




					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 1798740000000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 29979000000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 3540819690000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 59013779527.55905;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 983562992.125984;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 708163937999.9999;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 11802755905.511812;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 1079244000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 299790;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 582745140.388769;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 582376595.372691;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 880975.323346;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 1079244000000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 17987400000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 299790000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 670611130.994989;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 11176852.18325;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 186280.869721;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 1180273230000;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 19671259842.519684;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 18 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 327854330.708661;
						txtOutput4.Text = dblKetQua.ToString();
					}




					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 1.524003;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 0.0254;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 3;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 0.05;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 0.000833;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 0.6;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 0.01;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 0.000914;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 0.000494;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 0.000493;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.000001;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 0.914402;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 0.01524;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.000254;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 0.000568;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.000009;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 0.016667;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 19 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 0.000278;
						txtOutput4.Text = dblKetQua.ToString();
					}



					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 91.44;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 1.524;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 179.99964;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 3;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 0.05;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 35.999928;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 0.6;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 0.054864;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0.000015;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 0.029624;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 0.029605;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.000045;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 54.864;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 0.9144;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.01524;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 0.034091;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.000568;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0.000009;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 59.99988;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 20 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 0.016667;
						txtOutput4.Text = dblKetQua.ToString();
					}



					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 0)
					{
						dblKetQua = dblInput4 * 5486.4;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 1)
					{
						dblKetQua = dblInput4 * 91.44;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 2)
					{
						dblKetQua = dblInput4 * 10799.9784;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 3)
					{
						dblKetQua = dblInput4 * 180;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 4)
					{
						dblKetQua = dblInput4 * 3;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 5)
					{
						dblKetQua = dblInput4 * 2159.99568;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 6)
					{
						dblKetQua = dblInput4 * 36;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 7)
					{
						dblKetQua = dblInput4 * 3.29184;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 8)
					{
						dblKetQua = dblInput4 * 0.000914;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 9)
					{
						dblKetQua = dblInput4 * 1.777451;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 10)
					{
						dblKetQua = dblInput4 * 1.776327;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 11)
					{
						dblKetQua = dblInput4 * 0.002687;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 12)
					{
						dblKetQua = dblInput4 * 3291.84;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 13)
					{
						dblKetQua = dblInput4 * 54.864;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 14)
					{
						dblKetQua = dblInput4 * 0.9144;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 15)
					{
						dblKetQua = dblInput4 * 2.045455;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 16)
					{
						dblKetQua = dblInput4 * 0.034091;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 17)
					{
						dblKetQua = dblInput4 * 0.000568;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 18)
					{
						dblKetQua = dblInput4 * 0;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 19)
					{
						dblKetQua = dblInput4 * 3599.9928;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 20)
					{
						dblKetQua = dblInput4 * 60;
						txtOutput4.Text = dblKetQua.ToString();
					}
					else if (lbInput4.SelectedIndex == 21 && lbOutput4.SelectedIndex == 21)
					{
						dblKetQua = dblInput4 * 1;
						txtOutput4.Text = dblKetQua.ToString();
					}
				}
				catch (Exception ex)
				{
					MessageBox.Show("Đã có lỗi xảy ra! Bạn hãy kiểm tra lại xem mình đã thao tác đúng chưa nhé!",ex.Source);
				}
			}
		}
		#endregion
	}
}
